package com.jbinfo.qingcaowan.studyManager.service;

import java.util.List;

import com.jbinfo.common.utils.DataTables;
import com.jbinfo.qingcaowan.studyManager.dto.RemarkModel;
import com.jbinfo.qingcaowan.studyManager.entity.Remark;


public interface RemarkService {
	
	
	
	public DataTables<Remark> findAllRemark(RemarkModel remarkModel);
	
	public RemarkModel getById(String remarkId);

	public DataTables<Remark> findByUser(RemarkModel remarkModel);

	public void changeShow(RemarkModel remarkModel);

	public  List<RemarkModel> findBookList(RemarkModel remarkModel);

	public List<RemarkModel> findChapterList(String bookid);

	public List<RemarkModel> findCardList(String chapterid);

	public void changeShow1(RemarkModel remarkModel);
	
	// 保存评论信息
	public Object saveRemarkInfo(Remark remark);
	
	// 获取评论数
	public Object getRemarkCnt(Remark remark);
}
